package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产站点(门店)信息对象 t_station
 * 
 * @author xiuddooo
 * @date 2025-09-17
 */
public class TStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 站点（门店）名称 */
    @Excel(name = "站点", readConverterExp = "门=店")
    private String name;

    /** 站点（门店）地址 */
    @Excel(name = "站点", readConverterExp = "门=店")
    private String address;

    /** 纬度坐标 */
    @Excel(name = "纬度坐标")
    private String latitude;

    /** 经度坐标 */
    @Excel(name = "经度坐标")
    private String longitude;

    /** 地区信息 */
    @Excel(name = "地区信息")
    private String areaId;

    /** 营业时间 */
    @Excel(name = "营业时间")
    private String businessHours;

    /** 门店图片id */
    @Excel(name = "门店图片id")
    private String imageId;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhoneNumber;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String contactPersonName;

    /** 合伙人id */
    @Excel(name = "合伙人id")
    private String partnerId;

    /** 门店描述 */
    @Excel(name = "门店描述")
    private String description;

    /** 还车误差范围，单位米 */
    @Excel(name = "还车误差范围，单位米")
    private String returnErrorRange;

    /** 门店半径，单位米 */
    @Excel(name = "门店半径，单位米")
    private String radius;

    /** 门店位置 */
    @Excel(name = "门店位置")
    private String location;

    /** 营业执照存储id */
    @Excel(name = "营业执照存储id")
    private String businessLicenseId;

    /** 还车位置校准类型 1：多边形 2：圆形 */
    @Excel(name = "还车位置校准类型 1：多边形 2：圆形")
    private Long calibrationType;

    /** 多边形坐标点，二维数组 */
    @Excel(name = "多边形坐标点，二维数组")
    private String polygonPoints;

    /** 分成比例，比如 0.15 表示 15%，指商户收 15% */
    @Excel(name = "分成比例，比如 0.15 表示 15%，指商户收 15%")
    private String commissionRate;

    /** 合伙人分成比例，比如 0.5 表示 50%，指合伙人收 50% */
    @Excel(name = "合伙人分成比例，比如 0.5 表示 50%，指合伙人收 50%")
    private String partnerCommissionRate;
    
    /** 所属行政区 */
    private String areaName;

    /** 所属合伙人 */
    private String partnerName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }

    public void setAreaId(String areaId) 
    {
        this.areaId = areaId;
    }

    public String getAreaId() 
    {
        return areaId;
    }

    public void setBusinessHours(String businessHours) 
    {
        this.businessHours = businessHours;
    }

    public String getBusinessHours() 
    {
        return businessHours;
    }

    public void setImageId(String imageId) 
    {
        this.imageId = imageId;
    }

    public String getImageId() 
    {
        return imageId;
    }

    public void setContactPhoneNumber(String contactPhoneNumber) 
    {
        this.contactPhoneNumber = contactPhoneNumber;
    }

    public String getContactPhoneNumber() 
    {
        return contactPhoneNumber;
    }

    public void setContactPersonName(String contactPersonName) 
    {
        this.contactPersonName = contactPersonName;
    }

    public String getContactPersonName() 
    {
        return contactPersonName;
    }

    public void setPartnerId(String partnerId) 
    {
        this.partnerId = partnerId;
    }

    public String getPartnerId() 
    {
        return partnerId;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setReturnErrorRange(String returnErrorRange) 
    {
        this.returnErrorRange = returnErrorRange;
    }

    public String getReturnErrorRange() 
    {
        return returnErrorRange;
    }

    public void setRadius(String radius) 
    {
        this.radius = radius;
    }

    public String getRadius() 
    {
        return radius;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setBusinessLicenseId(String businessLicenseId) 
    {
        this.businessLicenseId = businessLicenseId;
    }

    public String getBusinessLicenseId() 
    {
        return businessLicenseId;
    }

    public void setCalibrationType(Long calibrationType) 
    {
        this.calibrationType = calibrationType;
    }

    public Long getCalibrationType() 
    {
        return calibrationType;
    }

    public void setPolygonPoints(String polygonPoints) 
    {
        this.polygonPoints = polygonPoints;
    }

    public String getPolygonPoints() 
    {
        return polygonPoints;
    }

    public void setCommissionRate(String commissionRate) 
    {
        this.commissionRate = commissionRate;
    }

    public String getCommissionRate() 
    {
        return commissionRate;
    }

    public void setPartnerCommissionRate(String partnerCommissionRate) 
    {
        this.partnerCommissionRate = partnerCommissionRate;
    }

    public String getPartnerCommissionRate() 
    {
        return partnerCommissionRate;
    }

    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }

    public void setPartnerName(String partnerName) 
    {
        this.partnerName = partnerName;
    }

    public String getPartnerName() 
    {
        return partnerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("name", getName())
            .append("address", getAddress())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("areaId", getAreaId())
            .append("businessHours", getBusinessHours())
            .append("imageId", getImageId())
            .append("contactPhoneNumber", getContactPhoneNumber())
            .append("contactPersonName", getContactPersonName())
            .append("partnerId", getPartnerId())
            .append("description", getDescription())
            .append("returnErrorRange", getReturnErrorRange())
            .append("radius", getRadius())
            .append("location", getLocation())
            .append("businessLicenseId", getBusinessLicenseId())
            .append("calibrationType", getCalibrationType())
            .append("polygonPoints", getPolygonPoints())
            .append("commissionRate", getCommissionRate())
            .append("partnerCommissionRate", getPartnerCommissionRate())
            .toString();
    }
}
